package com.example.logging.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @Auther: hjy(lc))
 * @Date: 2022/11/3-11-03-9:39
 * @Description：com.example.cms.config
 */
@Configuration
@ComponentScan("com.example.logging")
//条件
@ConditionalOnProperty(prefix = "com.example.config.logging",name="enabled",havingValue = "true")
public class LoggingConfig {
}
